#include "x_setup.sqf"
class XD_ParajumpDialog {
	idd = -1;
	movingEnable = true;
	onLoad = "d_parajump_dialog_open = true;d_do_ma_update_n = true";
	onUnLoad = "d_parajump_dialog_open = false;d_do_ma_update_n = false";
	class controlsBackground {
		class XD_BackGroundCaption: XC_RscText {
			x = 0; y = 0;
			w = 1; h = 1 / 25;
			colorBackground[] = __GUI_BCG_RGB;
		};
		class XD_MainCaption: XC_RscText {
			x = 0.02; y = 0;
			w = 0.25; h = 0.04;
			sizeEx = 0.04;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBI;
			text = "$STR_DOM_MISSIONSTRING_1266";
		};
		class XD_BackGroundMain: XC_RscText {
			colorBackground[] = {0, 0, 0, 0.7};
			x = 0;
			y = (1 / 25) + 0.005;
			w = 1;
			h = 1 - (2 / 25) - 0.01;
		};
		/*class XD_BackGroundBottom: XC_RscText {
			x = 0; y = 1 - (1 / 25);
			w = 1; h = 1 / 25;
			colorBackground[] = __GUI_BCG_RGB;
		};*/
		class DomVer: XC_RscText {
			x = 0.02; y = 1 - 0.04;
			w = 0.25; h = 0.04;
			sizeEx = 0.04;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBI;
			text = __DOM_NVER_STR__;
		};
	};
	class controls {
		class XD_CancelButton: XD_ButtonBase {
			idc = -1;
			text = "$STR_DOM_MISSIONSTRING_1229"; 
			action = "closeDialog 0";
			x = 0.7; y = 1 - 0.04;
			default = true;
		};
		class XD_Map : XD_RscMapControl {
			idc = -1;
			colorBackground[] = {0.9, 0.9, 0.9, 0.9};
			x = 0.06;
			y = 0.14;
			w = 0.885;
			h = 0.7;
			showCountourInterval = false;
			onMouseButtonClick = "closeDialog 0;_pp = (_this select 0) ctrlMapScreenToWorld [_this select 2, _this select 3];d_global_jump_pos = _pp";
		};
		class XD_ParaMapText : XC_RscText {
			x = 0.06;
			y = 0.05;
			w = 0.7;
			h = 0.1;
			sizeEx = 0.035;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "$STR_DOM_MISSIONSTRING_1267";
		};
		class XD_ArtiMapText2 : XD_ParaMapText {
			y = 0.83;
			text = "$STR_DOM_MISSIONSTRING_1269";
		};
		class XD_ArtiMapText3 : XD_ParaMapText {
			y = 0.86;
			text = "$STR_DOM_MISSIONSTRING_1271";
		};
	};
};
